/*
 * @Author: wangming
 * @Date: 2021-04-01 14:18:28
 * @LastEditors: wangming
 * @LastEditTime: 2022-08-03 11:55:37
 * @Description: 单元控件可配置属性
 */
/**
 * 表单Form内配置属性
 */
export const basicsConfig = {
  hlInput: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmMaxLength',
      'hmDefaultValue',
      'hmAutofocus',
      'regexp',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlPassword: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmMaxLength',
      'hmAutofocus',
      'regexp',
      'hmShowExplain',
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlTextarea: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmMaxLength',
      'hmDefaultValue',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlInputNumber: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmUnit',
      'hmDefaultNumber',
      'hmLimitNumber',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlMoneyInput: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmCurrency',
      'hmSeparator',
      'hmDefaultNumber',
      'hmLimitNumber',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlDatePicker: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmDateFormat',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlCalculation: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmFormulaText',
      'hmUnit',
      'hmLimitNumber',
      'hmSeparator',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlUppercase: {
    basicsSettingTag: ['hmLabel', 'hmOriginModul', 'hmShowExplain'],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlSelect: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmSetOptions',
      'hmDefaultValue',
      'hmMultiple',
      'hmDefaultLoad',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmDataFilter', 'hmEventOptions', 'hmDisplayConditions', 'hmDataCustomLoad', 'hmHook']
  },
  hlModelSelect: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmModule',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlRadio: {
    basicsSettingTag: ['hmModelName', 'hmLabel', 'hmSetOptions', 'hmDefaultValue', 'hmShowExplain'],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions', 'hmDataCustomLoad']
  },
  hlCheckbox: {
    basicsSettingTag: ['hmModelName', 'hmLabel', 'hmSetOptions', 'hmDefaultValue', 'hmShowExplain'],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions', 'hmDataCustomLoad']
  },
  hlSwitch: {
    basicsSettingTag: ['hmModelName', 'hmLabel', 'hmSwich', 'hmShowExplain'],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlExplain: {
    basicsSettingTag: ['hmLabel', 'hmText', 'hmShowExplain'],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmLabelColor', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlTimePicker: {
    basicsSettingTag: ['hmModelName', 'hmLabel', 'hmPlaceholder', 'hmTime', 'hmShowExplain'],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlLink: {
    basicsSettingTag: ['hmLabel', 'hmLink', 'hmShowExplain'],
    layoutSettingTag: ['hmType', 'hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlTag: {
    basicsSettingTag: ['hmLabel', 'hmText', 'hmShowExplain'],
    layoutSettingTag: ['hmType', 'hmWidth', 'hmLabelWidth', 'hmStatusLabel'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlLayout: {
    basicsSettingTag: ['hmLayout'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlPersonnel: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmMultiple',
      'hmTree',
      'hmShowExplain',
      'hmDeptSelect'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlDepartment: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmMultiple',
      'hmTree',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlFileImage: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmFile',
      'hmAccept',
      'hmMultiple',
      'hmServeKey',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlFile: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmFile',
      'hmAccept',
      'hmMultiple',
      'hmServeKey',
      'hmDrag',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlLayoutTab: {
    basicsSettingTag: ['hmTab'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmEventOptions', 'hmHook', 'hmDisplayConditions']

  },
  hlLayoutItem: {
    basicsSettingTag: ['hmLayoutItem'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hliframe: {
    basicsSettingTag: ['hmIframe'],
    layoutSettingTag: ['hmHide']
  },
  hlcustomBtn: {
    basicsSettingTag: ['hmButtonLayout', 'hmTextalign'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlButton: {
    basicsSettingTag: ['hmButtonName', 'hmButton'],
    layoutSettingTag: ['hmWidthpx', 'hmHide', 'hmButtonStyle'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlTableAdd: {
    basicsSettingTag: ['hmLabel', 'hmModelName'],
    layoutSettingTag: ['hmHide', 'hmStatus'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlChildTb: {
    basicsSettingTag: ['hmLabel', 'hmModelName', 'hmChildLength'],
    layoutSettingTag: ['hmStatusLabel', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlChildTable: {
    basicsSettingTag: ['hlstripe', 'tb_lt'],
    layoutSettingTag: [],
    seniorSettingTag: []
  },
  hlChildOperate: {
    basicsSettingTag: ['tb_o', 'tb_i_fixed', 'tb_imbuttons'],
    layoutSettingTag: [],
    seniorSettingTag: []
  },
  hlChildColumn: {
    basicsSettingTag: ['tb_im', 'tb_i_fixed'],
    layoutSettingTag: [],
    seniorSettingTag: []
  },
  hlChildsysBtn: {
    basicsSettingTag: ['hmButtonName'],
    layoutSettingTag: ['hmWidthpx', 'hmHide', 'hmButtonStyle'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlChildForm: {
    basicsSettingTag: ['hmLabel', 'hmDrawtype'],
    layoutSettingTag: [],
    seniorSettingTag: []
  },
  hlTableForRelation: {
    basicsSettingTag: ['hmModule', 'table_relation', 'hlTableList', 'hmDefaultLoad', 'hlfullscreen', 'hlstripe', 'hmFormkey', 'hmTableDefaultOrder'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmEventOptions', 'hmDataCustomLoad', 'hmTableBackgroundLoad', 'hmMqtt', 'hmDisplayConditions']
  },
  hlCascader: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmMultiple',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions', 'hmDataCustomLoad']
  },
  hlSelectTree: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmPlaceholder',
      'hmSetOptions',
      'hmMultiple',
      'hmShowExplain'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions', 'hmDataCustomLoad']
  },
  hlTree: {
    basicsSettingTag: ['hmModule', 'hmSearch', 'hmdefaultRootRoot', 'hmModuleLabel', 'hmDropdown'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlCustom: {
    basicsSettingTag: ['hmModelNametext', 'hmLabel', 'hmCustom', 'hmShowExplain'],
    layoutSettingTag: ['hmLabelWidth', 'hmStatusLabel', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlVueComponent: {
    basicsSettingTag: ['hmModelNametext', 'hmLabel', 'hmCustomVue', 'hmShowExplain'],
    layoutSettingTag: ['hmLabelWidth', 'hmStatusLabel', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlProcess: {
    basicsSettingTag: ['hmModelName'],
    layoutSettingTag: ['hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  drapButton: {
    basicsSettingTag: ['hmButtonName'],
    layoutSettingTag: ['hmHide'],
  },
  hlDivider: {
    basicsSettingTag: ['hmLabel', 'hmDivider'],
    layoutSettingTag: ['hmHide'],
  },
  hlStep: {
    basicsSettingTag: ['hmStep'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlMindmap: {
    basicsSettingTag: ['hmModule', 'hmMindmap', 'hmModuleLabel'],
    layoutSettingTag: ['hmHide'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlQrcode: {
    basicsSettingTag: ['hmModuleLabel', 'hmLabel', 'hmTextalign', 'hmSize', 'hmShowExplain'],
    layoutSettingTag: ['hmStatusLabel', 'hmLabelWidth', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlQrcodeDecoder: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel'
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlColorPicker: {
    basicsSettingTag: [
      'hmModelName',
      'hmLabel',
      'hmRgbSelect',
      'hmDefaultValue',
      'hmShowExplain',
    ],
    layoutSettingTag: ['hmStatusLabel', 'hmWidth', 'hmLabelWidth', 'hmHide', 'hmStatus'],
    seniorSettingTag: ['hmEventOptions', 'hmDisplayConditions']
  },
  hlrowLayoutTwo: {
    basicsSettingTag: ['rowLayoutTwo'],
    layoutSettingTag: ['hmModalHeight', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlrowLayoutThree: {
    basicsSettingTag: ['rowLayoutThree'],
    layoutSettingTag: ['hmModalHeight', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlcolumnLayoutTwo: {
    basicsSettingTag: ['columnLayoutTwo'],
    layoutSettingTag: ['hmModalHeight', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hlcolumnLayoutThree: {
    basicsSettingTag: ['columnLayoutThree'],
    layoutSettingTag: ['hmModalHeight', 'hmHide'],
    seniorSettingTag: ['hmDisplayConditions']
  },
  hmVideoMedia: {
    basicsSettingTag: [
      'hmLabel',
      'videoMediaBasicProps'
    ],
    seniorSettingTag: ['videoMediaAdvancedProps'],
    layoutSettingTag: ['hmWidth', 'hmLabelWidth', 'hmStatusLabel', 'videoMediaStyleProps', 'hmHide'],
  },
  hmImageMedia: {
    basicsSettingTag: [
      'hmLabel',
      'imageMediaBasicProps'
    ],
    seniorSettingTag: ['imageMediaAdvancedProps'],
    layoutSettingTag: ['hmWidth', 'hmLabelWidth', 'hmStatusLabel', 'imageMediaStyleProps', 'hmHide'],
  },
}
